﻿#ifndef MYPUSHBUTTONCOPY_P_H
#define MYPUSHBUTTONCOPY_P_H

#include "mypushbuttoncopy.h"

QT_BEGIN_NAMESPACE

class MyPushButtonCopyPrivate
{
public:
    MyPushButtonCopyPrivate();
    ~MyPushButtonCopyPrivate();

    /* ImageLayer Property */
    int imageLayerIndex;                                            // ImageLayer's Index

    /* Device Property */
    int sourceDeviceIndex;                                          // SourceDevice's Index
    int destinationDeviceIndex;                                     // DestinationDevice's Index

    /* ModBus Property */
    My::ObjectType objectType;                                      // Declare an ObjectType variable
    int sourceObjectIndex;                                          // Declare a SourceObjectIndex variable
    int destinationObjectIndex;                                     // Declare a DestinationObjectIndex variable                                                   // Data variable

    /* Display Property */
    bool displayEnable;                                             // Declare a DisplayEnable variable
    bool displayDefault;                                            // DisplayDefault variable

    /* Operate Property */
    My::PushButtonCopyOperate pushButtonCopyOperate;                // Declare an PushButtonOperate variable
    int coilOfRegisterIndex;                                        // Declare a coilOfRegisterIndex variable

    /* Display Parameters */
    QString textBuffer;                                             // Declare a TextBuffer variable

    /* Mouse Parameters */
    bool LeftmousePressed;                                          // The flag of leftmouse be pressed
    QPointF mousePressPoint;                                        // The current coordinates of mouse click

};


QT_END_NAMESPACE

#endif // MYPUSHBUTTONCOPY_P_H
